import request from '@/utils/request'

export default {
  getUserInfoList(page, pagesize) {
    console.log(page, pagesize)
    return request({
      url: '/usermessage/userinfo',
      method: 'post',
      data: {
        page,
        pagesize
      }
    })
  },
  // 获取坐标
  getCoordinates(userId) {
    return request({
      url: `/usermessage/getCoordinates/${userId}`,
      method: 'get'
    })
  }
}
